package com.zjw.touchscreen.server.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

@Data
@TableName("user")
public class UserEntity {
    @TableId(value = "id", type = IdType.AUTO)
    @Schema(description = "id")
    private Integer id;
    @Schema(description = "userName")
    private String userName;
    @Schema(description = "password")
    private String password;
    @Schema(description = "phone")
    private String phone;
    @Schema(description = "wechatNum")
    private String wechatNum;
    @Schema(description = "创建时间")
    private Date createdDatetime;
    @Schema(description = "创建人")
    private String createdBy;
    @Schema(description = "更新时间")
    private Date updatedDatetime;
    @Schema(description = "更新人")
    private String updatedBy;
}
